package com.paul.sys.util;

import com.paul.sys.model.Symenu;
import com.paul.sys.service.SymenuService;
import org.springframework.beans.factory.annotation.Autowired;


import java.util.*;

/**
 * Created by yingg_000 on 2015/7/10.
 */
public class SymenuUtil {
    @Autowired
    SymenuService symenuService;
    public List<Symenu> getSymenuByPunid(Integer unid){
        List<Symenu> list = new ArrayList<Symenu>();
        Map param = new HashMap();
        param.put("punid",unid);
        return   symenuService.listByPunid(param);
    }
}
